package com.shawn.example.mvvmdemo.viewmodel

import android.app.Application
import android.util.Log
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject

//class RepViewModel : ViewModel() {
class RepViewModel(val app: Application) : AndroidViewModel(app) {

    val repListLiveData: MutableLiveData<String> = MutableLiveData("first")

    fun getRepList() {
        Log.d("RepViewModel", "getRepList ${app::class.java.canonicalName}")
    }
}